<?php
return array(
    //模版调用
    'TMPL_PARSE_STRING' => array(
        '__THEME__'  => $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] .'/Public/' . MODULE_NAME,
        '__CSS__'    => $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] .'/Public/' . MODULE_NAME . '/Css',
        '__SCRIPT__' => $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] .'/Public/' . MODULE_NAME . '/Js',
        '__IMAGE__'  => $_SERVER['REQUEST_SCHEME'] . '://' . $_SERVER['HTTP_HOST'] .'/Public/' . MODULE_NAME . '/Images',
    ),
    'DEFAULT_CONTROLLER' => 'Pay',
	
	//选择本地数据库
    'DB_NAME'   => 'zyt_pay',
    'DB_PREFIX' => 'zyt_',

    //订单号生成前缀
    'ORDER_SN_PREFIX' => 'LS',

    //支付宝相关参数配置
    'ALIPAY' => array(
        'PARTNER'	  => '2088411457219758',
        'SELLER_MAIL' => '599591023@qq.com',
        'KEY'		  => 'pns7e1xdttanejxjefsjoddqskbshmu5',
        'SIGN_TYPE'   => 'MD5',
        'CHARSET'     => 'utf-8',
        'CACERT'      => getcwd().'\\cacert.pem',
        'TRANSPORT'   => 'http',
        'NOTIFY_URL'  => 'http://pay.zyttb.com/Pay/Notify_url',
        'RETURN_URL'  => 'http://pay.zyttb.com/Pay/Return_url',
    ),

    //支付方式
    'PAY_METHOD' => array('alipay', 'tb'),

    //消费类型
    'PAY_TYPE' => array(
        'CASH_PAY' => 1,   //现金充值游戏币
        'TB_PAY'   => 5,   //通币充值游戏币
        'YE_PAY'   => 6,   //消费充值游戏币
        'CASH_TB'  => 13,  //现金充值通币
    ),

    //币种 - ID
    'CURRENCY' => array(
        'TB'  => 7,
        'YE'  => 8,
        'RMB' => 21,
    ),

    //平台ID
    'PLATFORM_ID' => '4',

    //游戏SDK请求
    'GAME_SDK_KIT' => array(
        'GATEWAY' => 'http://sdk.zyttb.com/return_url.aspx',
        'KEY' => 'pns7e1xdttanejxdssssjefsjoddqskbshmu5',
    )
);